﻿import CSharpCompiler
import clr
import IronSharePoint

ctrl = IronSharePoint.IronFieldControl()
ctrl.ScriptPath = "IronFieldControl.py"

	
def FieldValueType():
	code = "[Serializable]public class Test{ private string _test; public string Test{get{return _test;}set{_test=value;} }}"
	ass = CSharpCompiler.Generate(code)
	return ass.GetExportedTypes()[0]
	
def FieldRenderingControl():
	return ctrl